Display Name = "Tower of Light 7F"
Parallax Name = ""
Note = ""

CommonEvent 1
Name = "EV001"

  Page 0
    PlaySE(["RPG::SE(@name=\"Magic2\", @pitch=100, @volume=80)"])
    TransferPlayer([0, 388, 22, 6, 2, 1])
    Empty([])

CommonEvent 2
Name = "EV002"

  Page 0
    PlaySE(["RPG::SE(@name=\"Switch2\", @pitch=150, @volume=80)"])
    ControlSwitches([3008, 3008, 0])
    ConditionalBranch([0, 3009, 1])
      ConditionalBranch([0, 1005, 0])
        ShowTextAttributes(["alice_fc5", 0, 0, 2])
        ShowText(["\\n<Alice>"])
        ShowText(["...Nothing is happening."])
        ShowText(["There must be other mechanisms."])
        Empty([])
      BranchEnd([])
      ConditionalBranch([0, 1006, 0])
        ShowTextAttributes(["alice_fc1", 0, 0, 2])
        ShowText(["\\n<Alice>"])
        ShowText(["...Nothing is happening."])
        ShowText(["There must be other mechanisms."])
        Empty([])
      BranchEnd([])
      ConditionalBranch([0, 1007, 0])
        ShowTextAttributes(["alice_fc7", 0, 0, 2])
        ShowText(["\\n<Alice>"])
        ShowText(["...Nothing is happening."])
        ShowText(["There must be other mechanisms."])
        Empty([])
      BranchEnd([])
      SetMoveRoute([-1, "RPG::MoveRoute(@repeat=false, @skippable=false, @wait=true, @list=[\"RPG::MoveCommand(@code=18, @parameters=[])\", \"RPG::MoveCommand(@code=0, @parameters=[])\"])"])
      Unnamed(["RPG::MoveCommand(@code=18, @parameters=[])"])
      ConditionalBranch([0, 1005, 0])
        ShowTextAttributes(["alice_fc5", 0, 0, 2])
        ShowText(["\\n<Alice>"])
        ShowText(["That lever on the opposite shore looks suspicious..."])
        Empty([])
      BranchEnd([])
      ConditionalBranch([0, 1006, 0])
        ShowTextAttributes(["alice_fc1", 0, 0, 2])
        ShowText(["\\n<Alice>"])
        ShowText(["That lever on the opposite shore looks suspicious..."])
        Empty([])
      BranchEnd([])
      ConditionalBranch([0, 1007, 0])
        ShowTextAttributes(["alice_fc7", 0, 0, 2])
        ShowText(["\\n<Alice>"])
        ShowText(["That lever on the opposite shore looks suspicious..."])
        Empty([])
      BranchEnd([])
      ExitEventProcessing([])
      Empty([])

    BranchEnd([])
    ConditionalBranch([0, 3009, 0])
      PlaySE(["RPG::SE(@name=\"mon_earth1\", @pitch=100, @volume=100)"])
      ConditionalBranch([0, 1005, 0])
        ShowTextAttributes(["alice_fc5", 2, 0, 2])
        ShowText(["\\n<Alice>"])
        ShowText(["Hmm... What is it?"])
        Empty([])
      BranchEnd([])
      ConditionalBranch([0, 1006, 0])
        ShowTextAttributes(["alice_fc1", 3, 0, 2])
        ShowText(["\\n<Alice>"])
        ShowText(["Hmm... What is it?"])
        Empty([])
      BranchEnd([])
      ConditionalBranch([0, 1007, 0])
        ShowTextAttributes(["alice_fc7", 3, 0, 2])
        ShowText(["\\n<Alice>"])
        ShowText(["Hmm... What is it?"])
        Empty([])
      BranchEnd([])
      PlaySE(["RPG::SE(@name=\"mon_water\", @pitch=125, @volume=100)"])
      FadeoutScreen([])
      Wait([180])
      ControlSwitches([3010, 3010, 0])
      ConditionalBranch([12, "exist_party_in_map?(2, 1389)"])
        Script(["move_party(2,1390,27,6,2)"])
        Empty([])
      BranchEnd([])
      TransferPlayer([0, 390, 17, 6, 2, 2])
      FadeinScreen([])
      ShowTextAttributes(["", 0, 0, 2])
      ShowText(["The water on the floor has been drained!"])
      ConditionalBranch([0, 1005, 0])
        ShowTextAttributes(["alice_fc5", 1, 0, 2])
        ShowText(["\\n<Alice>"])
        ShowText(["Now, I can proceed..."])
        ShowText(["Now, let's go!"])
        Empty([])
      BranchEnd([])
      ConditionalBranch([0, 1006, 0])
        ShowTextAttributes(["alice_fc1", 1, 0, 2])
        ShowText(["\\n<Alice>"])
        ShowText(["Now, I can proceed..."])
        ShowText(["Now, let's go!"])
        Empty([])
      BranchEnd([])
      ConditionalBranch([0, 1007, 0])
        ShowTextAttributes(["alice_fc7", 1, 0, 2])
        ShowText(["\\n<Alice>"])
        ShowText(["Now, I can proceed..."])
        ShowText(["Now, let's go!"])
        Empty([])
      BranchEnd([])
      Empty([])

    BranchEnd([])
    Empty([])

  Page 1
    Empty([])

CommonEvent 3
Name = "EV003"

  Page 0
    PlaySE(["RPG::SE(@name=\"Switch2\", @pitch=150, @volume=80)"])
    ControlSwitches([3009, 3009, 0])
    ConditionalBranch([0, 3008, 1])
      ConditionalBranch([0, 1026, 0])
        ShowTextAttributes(["iriasu_fc4", 2, 0, 2])
        ShowText(["\\n<Ilias>"])
        ShowText(["Nothing is happening..."])
        ShowText(["Well, let's leave the rest to the side of the Tower of Light."])
        Empty([])
      BranchEnd([])
      ConditionalBranch([0, 1027, 0])
        ShowTextAttributes(["iriasu_fc1", 0, 0, 2])
        ShowText(["\\n<Ilias>"])
        ShowText(["Nothing is happening..."])
        ShowText(["Well, let's leave the rest to the side of the Tower of Light."])
        Empty([])
      BranchEnd([])
      ConditionalBranch([0, 1028, 0])
        ShowTextAttributes(["iriasu_fc3", 0, 0, 2])
        ShowText(["\\n<Ilias>"])
        ShowText(["Nothing is happening..."])
        ShowText(["Well, let's leave the rest to the side of the Tower of Light."])
        Empty([])
      BranchEnd([])
      ExitEventProcessing([])
      Empty([])

    BranchEnd([])
    ConditionalBranch([0, 3008, 0])
      PlaySE(["RPG::SE(@name=\"mon_earth1\", @pitch=100, @volume=100)"])
      ConditionalBranch([0, 1026, 0])
        ShowTextAttributes(["iriasu_fc4", 5, 0, 2])
        ShowText(["\\n<Ilias>"])
        ShowText(["Waa! What is happening!?"])
        Empty([])
      BranchEnd([])
      ConditionalBranch([0, 1027, 0])
        ShowTextAttributes(["iriasu_fc1", 5, 0, 2])
        ShowText(["\\n<Ilias>"])
        ShowText(["Waa! What is happening!?"])
        Empty([])
      BranchEnd([])
      ConditionalBranch([0, 1028, 0])
        ShowTextAttributes(["iriasu_fc3", 0, 0, 2])
        ShowText(["\\n<Ilias>"])
        ShowText(["Waa! What is happening!?"])
        Empty([])
      BranchEnd([])
      PlaySE(["RPG::SE(@name=\"mon_water\", @pitch=125, @volume=100)"])
      FadeoutScreen([])
      Wait([180])
      ControlSwitches([3010, 3010, 0])
      ConditionalBranch([12, "exist_party_in_map?(1, 1389)"])
        Script(["move_party(1,1390,17,6,2)"])
        Empty([])
      BranchEnd([])
      TransferPlayer([0, 390, 27, 6, 2, 2])
      FadeinScreen([])
      ShowTextAttributes(["", 0, 0, 2])
      ShowText(["The water on the floor has been drained!"])
      ConditionalBranch([0, 1026, 0])
        ShowTextAttributes(["iriasu_fc4", 0, 0, 2])
        ShowText(["\\n<Ilias>"])
        ShowText(["I see, so this is the mechanism."])
        ShowText(["Alice, you should be grateful for my contribution."])
        Empty([])
      BranchEnd([])
      ConditionalBranch([0, 1027, 0])
        ShowTextAttributes(["iriasu_fc1", 1, 0, 2])
        ShowText(["\\n<Ilias>"])
        ShowText(["I see, so this is the mechanism."])
        ShowText(["Alice, you should be grateful for my contribution."])
        Empty([])
      BranchEnd([])
      ConditionalBranch([0, 1028, 0])
        ShowTextAttributes(["iriasu_fc3", 0, 0, 2])
        ShowText(["\\n<Ilias>"])
        ShowText(["I see, so this is the mechanism."])
        ShowText(["Alice, you should be grateful for my contribution."])
        Empty([])
      BranchEnd([])
      Empty([])

    BranchEnd([])
    Empty([])

  Page 1
    Empty([])

CommonEvent 4
Name = "EV004"

  Page 0
    PlaySE(["RPG::SE(@name=\"Magic2\", @pitch=100, @volume=80)"])
    TransferPlayer([0, 391, 22, 8, 2, 1])
    Empty([])

  Page 1
    PlaySE(["RPG::SE(@name=\"Magic2\", @pitch=100, @volume=80)"])
    TransferPlayer([0, 392, 22, 8, 2, 1])
    Empty([])

CommonEvent 5
Name = "EV005"

  Page 0
    PlaySE(["RPG::SE(@name=\"Switch2\", @pitch=150, @volume=80)"])
    ControlSelfSwitch(["A", 0])
    ControlVariables([1321, 1321, 1, 0, 1])
    Empty([])

  Page 1
    Empty([])

CommonEvent 6
Name = "EV006"

  Page 0
    PlaySE(["RPG::SE(@name=\"Move\", @pitch=100, @volume=80)"])
    TransferPlayer([0, 403, 1, 4, 0, 0])
    Empty([])

CommonEvent 7
Name = "EV007"

  Page 0
    Empty([])

CommonEvent 8
Name = "EV008"

  Page 0
    Empty([])

CommonEvent 9
Name = "EV009"

  Page 0
    Empty([])

CommonEvent 10
Name = "EV010"

  Page 0
    Empty([])

CommonEvent 11
Name = "EV011"

  Page 0
    Empty([])

CommonEvent 12
Name = "EV012"

  Page 0
    PlaySE(["RPG::SE(@name=\"Chest\", @pitch=100, @volume=80)"])
    SetMoveRoute([0, "RPG::MoveRoute(@repeat=false, @skippable=false, @wait=true, @list=[\"RPG::MoveCommand(@code=36, @parameters=[])\", \"RPG::MoveCommand(@code=17, @parameters=[])\", \"RPG::MoveCommand(@code=15, @parameters=[3])\", \"RPG::MoveCommand(@code=18, @parameters=[])\", \"RPG::MoveCommand(@code=15, @parameters=[3])\", \"RPG::MoveCommand(@code=0, @parameters=[])\"])"])
    Unnamed(["RPG::MoveCommand(@code=36, @parameters=[])"])
    Unnamed(["RPG::MoveCommand(@code=17, @parameters=[])"])
    Unnamed(["RPG::MoveCommand(@code=15, @parameters=[3])"])
    Unnamed(["RPG::MoveCommand(@code=18, @parameters=[])"])
    Unnamed(["RPG::MoveCommand(@code=15, @parameters=[3])"])
    ControlSwitches([3330, 3330, 0])
    ChangeItems([39, 0, 0, 1])
    Empty([])

  Page 1
    Empty([])

CommonEvent 13
Name = "EV013"

  Page 0
    ConditionalBranch([0, 448, 1])
      CallCommonEvent([9140])
      Empty([])

    BranchEnd([])
    ShowTextAttributes(["iriasu_fc6", 0, 0, 2])
    ShowText(["\\n<Dungeon Spirit>"])
    ShowText(["Unless the water on this floor is drained, we cannot proceed."])
    ShowText(["To do so, you need to lower two levers."])
    ShowTextAttributes(["iriasu_fc6", 0, 0, 2])
    ShowText(["\\n<Dungeon Spirit>"])
    ShowText(["One of them is located here..."])
    ShowText(["The other one can only be accessed through the Dark Route."])
    Empty([])

CommonEvent 14
Name = "EV014"

  Page 0
    ConditionalBranch([0, 448, 1])
      CallCommonEvent([9140])
      Empty([])

    BranchEnd([])
    ShowTextAttributes(["iriasu_fc6", 0, 0, 2])
    ShowText(["\\n<Dungeon Spirit>"])
    ShowText(["There's nothing here."])
    Empty([])

CommonEvent 15
Name = "EV015"

  Page 0
    ConditionalBranch([0, 448, 1])
      CallCommonEvent([9140])
      Empty([])

    BranchEnd([])
    ShowTextAttributes(["iriasu_fc6", 0, 0, 2])
    ShowText(["\\n<Dungeon Spirit>"])
    ShowText(["If you lower this lever and the one across from it..."])
    ShowText(["The water on the floor will drain, allowing you to proceed."])
    ShowTextAttributes(["iriasu_fc6", 0, 0, 2])
    ShowText(["\\n<Dungeon Spirit>"])
    ShowText(["However, only Ilias's team can reach the lever on the opposite side."])
    ShowText(["For now, let's wait here until they arrive on the other side."])
    Empty([])

CommonEvent 16
Name = "EV016"

  Page 0
    ConditionalBranch([0, 448, 1])
      CallCommonEvent([9140])
      Empty([])

    BranchEnd([])
    ShowTextAttributes(["iriasu_fc6", 0, 0, 2])
    ShowText(["\\n<Dungeon Spirit>"])
    ShowText(["This way..."])
    Empty([])

CommonEvent 17
Name = "EV017"

  Page 0
    ConditionalBranch([0, 448, 1])
      CallCommonEvent([9140])
      Empty([])

    BranchEnd([])
    ShowTextAttributes(["iriasu_fc6", 0, 0, 2])
    ShowText(["\\n<Dungeon Spirit>"])
    ShowText(["If you lower this lever, everything that needs to be done here will be finished."])
    ShowText(["Now, let's return to the Tower of Darkness."])
    Empty([])

CommonEvent 18
Name = "EV018"

  Page 0
    ConditionalBranch([0, 448, 1])
      CallCommonEvent([9140])
      Empty([])

    BranchEnd([])
    ShowTextAttributes(["iriasu_fc6", 0, 0, 2])
    ShowText(["\\n<Dungeon Spirit>"])
    ShowText(["There's a treasure chest ahead."])
    Empty([])
